package com.ruoyi.docdraw.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目对象 sys_project
 * 
 * @author lvtian
 * @date 2025-04-14
 */
public class SysProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long projectId;

    /** 项目所属组织 */
    @Excel(name = "项目所属组织")
    private Long projectDeptId;

    /** 项目名称 同组织下唯一 */
    @Excel(name = "项目名称 同组织下唯一")
    private String projectName;

    /** 项目范围 */
    @Excel(name = "项目范围")
    private String projectRange;

    /** 项目说明 */
    @Excel(name = "项目说明")
    private String projectDescribe;

    /** 项目经理 ID */
    @Excel(name = "项目经理 ID")
    private Long projectLeaderId;

    /** 项目开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date projectStartTime;

    /** 项目结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date projectEndTime;

    /** 备注 */
    @Excel(name = "备注")
    private String projectRemarks;

    /** 项目状态（0正常 1停用） */
    @Excel(name = "项目状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectDeptId(Long projectDeptId) 
    {
        this.projectDeptId = projectDeptId;
    }

    public Long getProjectDeptId() 
    {
        return projectDeptId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectRange(String projectRange) 
    {
        this.projectRange = projectRange;
    }

    public String getProjectRange() 
    {
        return projectRange;
    }
    public void setProjectDescribe(String projectDescribe) 
    {
        this.projectDescribe = projectDescribe;
    }

    public String getProjectDescribe() 
    {
        return projectDescribe;
    }
    public void setProjectLeaderId(Long projectLeaderId) 
    {
        this.projectLeaderId = projectLeaderId;
    }

    public Long getProjectLeaderId() 
    {
        return projectLeaderId;
    }
    public void setProjectStartTime(Date projectStartTime) 
    {
        this.projectStartTime = projectStartTime;
    }

    public Date getProjectStartTime() 
    {
        return projectStartTime;
    }
    public void setProjectEndTime(Date projectEndTime) 
    {
        this.projectEndTime = projectEndTime;
    }

    public Date getProjectEndTime() 
    {
        return projectEndTime;
    }
    public void setProjectRemarks(String projectRemarks) 
    {
        this.projectRemarks = projectRemarks;
    }

    public String getProjectRemarks() 
    {
        return projectRemarks;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("projectDeptId", getProjectDeptId())
            .append("projectName", getProjectName())
            .append("projectRange", getProjectRange())
            .append("projectDescribe", getProjectDescribe())
            .append("projectLeaderId", getProjectLeaderId())
            .append("projectStartTime", getProjectStartTime())
            .append("projectEndTime", getProjectEndTime())
            .append("projectRemarks", getProjectRemarks())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
